projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a72ce
)
filechooserentry: Don't use a magic number
author
Benjamin Otte
<otte@redhat.com>
Sat, 5 Nov 2011 21:36:16 +0000
(22:36 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 16 Dec 2011 19:09:11 +0000
(20:09 +0100)
... when we have a proper enum value for a column.
gtk/gtkfilechooserentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserentry.c
b/gtk/gtkfilechooserentry.c
index e102652132af2cae7488d90f85af3156003ace41..477439a9a15a18b02807b23d2f7f415b24ef8b45 100644
(file)
--- a/
gtk/gtkfilechooserentry.c
+++ b/
gtk/gtkfilechooserentry.c
@@
-223,7
+223,7
@@
_gtk_file_chooser_entry_init (GtkFileChooserEntry *chooser_entry)
cell, TRUE);
gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (comp),
cell,
- "text",
0
);
+ "text",
DISPLAY_NAME_COLUMN
);
g_signal_connect (comp, "match-selected",
G_CALLBACK (match_selected_callback), chooser_entry);